<!-- 苗木列表 -->
<top-title title="苗木列表" icon="am-icon-user"></top-title>
<div class="am-padding-horizontal-sm am-padding-top ng-scope">
  	<div class="am-panel-hd" style="background-color: #e5e8e1;">
  		<h3 class="mh-margin-none am-text-truncate">苗木列表</h3>
  	</div>

  	<div class="am-panel am-panel-default ng-isolate-scope ng-valid">
    	<ul class="am-list mh-margin-none">
    		<li class="am-g am-u-sm-12" ng-repeat="record in records">
    			<a class="mh-padding-none" href ng-click="showRecord($index)">
		          	<div class="am-u-sm-10 am-padding-bottom-xs">
		            	<h3 class="am-margin-bottom-xs am-text-truncate">
		            		<span class="am-u-sm-5">苗木名称:</span>
		            		<span class="am-u-sm-5">{{recordName}}</span>
		            	</h3>
		            	<h4 class="mh-margin-none mh-text-lightcolor">
		            		<span class="am-u-sm-5">苗木信息:</span>
		            		<span class="am-u-sm-5">{{record.info}}</span>
		            	</h4>
		          	</div>
		          	<span class="am-u-sm-2 mh-text-lightcolor am-icon-angle-right am-icon-sm am-text-right"style="margin:1rem 0;"></span>
		        </a>
		        <div class="am-u-sm-11" ng-if="show==$index" style="margin-left: 10%;">
		        	<!-- <span class="am-u-sm-5">规格：</span><span>{{record.spec}}</span> -->
		        	<span class="am-u-sm-5">数量：</span><span class="am-u-sm-7">{{record.account}}</span>
		        	<span class="am-u-sm-5">起苗时间：</span><span class="am-u-sm-7">{{record.starttime.time | date:'yyyy-MM-dd HH:mm' }}</span>
		        	<span class="am-u-sm-5">运输信息：</span><span class="am-u-sm-7">{{record.moveinfo}}</span>
		        	<span class="am-u-sm-5">操作：</span><span class="am-u-sm-7"><a style="color: #57a000;" href ng-click="fillout($index)">填写</a></span>
		        </div>
    		</li>
    	</ul>
  	</div>
</div>